package com.lipy.dubbodb.service;

import com.lipy.dubbocommon.entity.Person;
import com.lipy.dubbodb.mapper.PersonMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: lipy
 * @create: 2020-10-22 21:06
 **/
@Service
public class PersonService {
    @Autowired
    PersonMapper personMapper;

    public List<Person> getAll(){
        List<Person> all = personMapper.getAll();
        return  all;
    }


}
